# -*- coding:utf-8 -*-
from PyQt5.QtWidgets import *
from com.mat.rpa.utils.globalConstants import GlobalConstants
from com.mat.rpa.views.workWindow.middlePanel.flowPanel import flowScrollAreaWidget


class FlowTabWidget(QTabWidget):
    def __init__(self, parent=None):
        super(FlowTabWidget, self).__init__(parent)
        self.parentPanel = parent
        self.setTabsClosable(True)
        self.setAcceptDrops(True)
        self.setObjectName("flowTabWidget")
        self.firstTestTab = flowScrollAreaWidget.FlowScrollAreaWidget(GlobalConstants.PCAppMode, self)
        self.addTab(self.firstTestTab, "测试Tab")
